package com.twilight.SofaStream;

import com.twilight.SofaStream.IPlayerServiceCallback;

interface IPlayerService {
    void registerCallback(IPlayerServiceCallback cb); 
    void unregisterCallback(IPlayerServiceCallback cb); 
    int getCurrentPosition();
    int getDuration();
    boolean remoteTrack(in long id);
    boolean localTrack(in long id);
    String getTitle ();
    long getId ();
    void pauseTrack();
	void startTrack();
	void seekTrack(int progress);
	void stopTrack();
	boolean isPlaying();
	boolean isActive();
	boolean isRemote();
	String getError();
}
